import request from '@/utils/request'

// 查询股票K线数据
export function getKData(stockCode) {
  return request({
    url: '/stock/kData/list?stockCode=' + stockCode,
    method: 'get'
  })
}

export function getNow(stockCode) {
  return request({
    url: '/stock/time/info?stockCode=' + stockCode,
    method: 'get'
  })
}